home *** CD-ROM | disk | FTP | other *** search
/ World Wide Web Encyclopedia / World Wide Web Encyclopedia CD.iso / pc / wwwe / logs / tar.log < prev    next >
Encoding:
Text File  |  1995-10-18  |  2.2 KB  |  82 lines

  1. >man tar
  2. TAR(1)                       BSD Reference Manual                       TAR(1)
  3.  
  4. NAME
  5.      tar - write tar format archives
  6.  
  7. SYNOPSIS
  8.      tar [-]{crtux}[befmopvwBHLPX] [tarfile] [blocksize] file1 [file2...]
  9.  
  10. DESCRIPTION
  11.      The tar command is implemented as a front-end to pax(1).
  12.  
  13.      Tar will read old or standard tar format archives, and write old tar
  14.      archives.  The default blocksize for character special archive files is
  15.      10240.  All blocksizes less than or equal to 32256 that are multiples of
  16.      512 are supported.
  17.  
  18. OPTIONS
  19.      As in historical tar implementations you may omit the initial dash `-' on
  20.      the option bundle.  One and only one of the following is required:
  21.  
  22.      -c      Create a new tarfile.
  23.  
  24.      -r      Append the named files.
  25.  
  26.      -t      Print table of contents.
  27.  
  28.      -u      Files are appended as with -r.
  29.  
  30.      -x      Extract the named files.
  31.  
  32.      The optional arguments are:
  33.  
  34.      -b      Set blocking factor (requires argument blocksize).
  35.  
  36.      -e      stop after first error
  37.  
  38.      -f      Specify archive name (requires argument tarfile), default is
  39.              $TAPE.
  40.  
  41.      -m      Do not preserve modification time of extracted files.
  42.  
  43.      -o      Write very old style tar archive, omitting the storage of direc-
  44.              tories.
  45.  
  46.      -p      Preserve file User Id, Group Id, file mode, and ac-
  47.              cess/modification times.
  48.  
  49.      -v      Verbose.
  50.  
  51.      -w      Interactive file rename.
  52.  
  53.      -B      Ignore blocking (this is the default, this option is for compati-
  54.              bility only).
  55.  
  56.      -H      Only follow symlinks listed on the command line.
  57.  
  58.      -L      Follow all symbolic links to perform a logical file system
  59.              traversal.
  60.  
  61.      -P      Do not follow symbolic links, perform a physical file system
  62.              traversal.  This is the default mode.
  63.  
  64.      -X      Do not cross filesystem mount points.
  65.  
  66. EXAMPLES
  67.  
  68.      tar cvf tarfile /usr
  69.              Archive everything under /usr.
  70.      tar tvf tarfile
  71.              List the contents of the tarfile archive.
  72.  
  73. SEE ALSO
  74.      pax(1)
  75.  
  76. BUGS
  77.      A case can be made that tar should write standard archives by default,
  78.      rather than old-style archives.
  79.  
  80. BSDI BSD/OS                     January 3, 1994                              2
  81.  
  82.